using net_work.Data.Enum.Appr;

namespace net_work.Data.DTO.Appr;

public class ApprovalInstanceUpdateRequest
{
    /// <summary>
    /// 审批实例ID
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 审批实例开始时间
    /// </summary>
    public DateTime? BeginTime { get; set; }

    /// <summary>
    /// 审批实例结束时间
    /// </summary>
    public DateTime? EndTime { get; set; }

    /// <summary>
    /// 审批实例状态
    /// </summary>
    public required InstanceStatus Status { get; set; }

    /// <summary>
    /// 当前所处流程节点ID（外键）
    /// </summary>
    public long? CurrentFlowNodeId { get; set; }
}